package com.lay.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;

/**
 * <p>
 * 续保申请表
 * </p>
 *
 * @author Lay
 * @since 2022-06-09
 */
public class Renewal implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 续保编号，主键，唯一
     */
    @TableId(value = "r_id", type = IdType.AUTO)
    private Integer rId;

    /**
     * 订单编号，外键
     */
    private Integer icId;

    /**
     * 用户编号，外键
     */
    private Integer uId;

    /**
     * 续保状态，（0，待审核，1审核通过，2审核不通过）
     */
    private Integer rState;

    /**
     * 添加人员
     */
    private Integer unAddid;

    /**
     * 审核人编号
     */
    private Integer unShenid;

    /**
     * 添加日期
     */
    private LocalDateTime rAddtime;


    public Integer getrId() {
        return rId;
    }

    public void setrId(Integer rId) {
        this.rId = rId;
    }

    public Integer getIcId() {
        return icId;
    }

    public void setIcId(Integer icId) {
        this.icId = icId;
    }

    public Integer getuId() {
        return uId;
    }

    public void setuId(Integer uId) {
        this.uId = uId;
    }

    public Integer getrState() {
        return rState;
    }

    public void setrState(Integer rState) {
        this.rState = rState;
    }

    public Integer getUnAddid() {
        return unAddid;
    }

    public void setUnAddid(Integer unAddid) {
        this.unAddid = unAddid;
    }

    public Integer getUnShenid() {
        return unShenid;
    }

    public void setUnShenid(Integer unShenid) {
        this.unShenid = unShenid;
    }

    public LocalDateTime getrAddtime() {
        return rAddtime;
    }

    public void setrAddtime(LocalDateTime rAddtime) {
        this.rAddtime = rAddtime;
    }

    @Override
    public String toString() {
        return "Renewal{" +
        "rId=" + rId +
        ", icId=" + icId +
        ", uId=" + uId +
        ", rState=" + rState +
        ", unAddid=" + unAddid +
        ", unShenid=" + unShenid +
        ", rAddtime=" + rAddtime +
        "}";
    }
}
